package utils;

import org.hibernate.Session;
import org.hibernate.Transaction;

public class HibernateSupport {
	Session session;
	
	public HibernateSupport(){
		session = HibernateUtil.getSessionFactory().openSession();
		Transaction tx = session.beginTransaction();
	}
	public Session getHibernateTemplate(){
		return this.session;
	}
}
